import request from '@/utils/request'

export default {
    getPage(page, limit) {
        return request.get(`/admin/product/baseTrademark/${page}/${limit}`)
    },
    save(data) {
        return request.post(`/admin/product/baseTrademark/save`, data)
    },
    update(data) {
        return request.put(`/admin/product/baseTrademark/update`, data)
    },
    delete(id) {
        return request.delete(`/admin/product/baseTrademark/remove/${id}`)
    },
    // 获取所有的品牌数据
    getTrademarkList() {
        return request.get(`/admin/product/baseTrademark/getTrademarkList`)
    }
}